package com.situ.day7.thread;

public class NumberThread extends Thread{
	private int start;
	private String name;
	
	public NumberThread(int start, String name) {
		this.start = start;
		this.name = name;
	}
	
	@Override
	public void run() {
		for (int i = start; i <= 100; i+=2) {
			System.out.println(name + ":" + i);
		}
	}
}
